﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess
{
    public class DataAccessBranch
    {
        public static Model.Branch GetLastBranch()
        {
            SSDDEntities.Instance.DiscardChanges();
            return (from p in SSDDEntities.Instance.Branch
                    select p).Last();
        }
    }
}
